import request from "@/utils/request"

/**
 * 获取拼团商品列表
 */
export function getPinkGoodsPage(data) {
  return request.get(`/pinks/get-pink-product-page`, data)
}

/**
 * 获取拼团详情
 */
export function getPinkInfo(id, data) {
  return request.get(`/pinks/get-by-id/${id}`, data)
}

/**
 * 获取拼团订单
 */
export function getPinkOrder(id) {
  return request.get(`/pinks/get-by-order-id/${id}`)
}
